﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Traceability.Domain.TraceabilityDto;

namespace Traceability.Domain.Service.ShoppingServices
{
    public interface IShoppingService
    {
        public Task<int> AddShopping(AddShoppingDto addShoppingDto);

        public Task<ShoppingPaginationDto<ShowShoppingDto>> GetShopping(int pageIndex,int pageSize);

        public Task<int> UpdateShopping(UpdateShoppingDto updateShoppingDto);

        public Task<int> DeletedShopping(int shoppingId, string? userName);

        public Task<ReverseShoppingDto> GetShoppingModel(int shoppingId);
    }
}
